<template>
  <div class="public-title">
    <h2>{{ title }}</h2>
  </div>
</template>
<script>
export default {
  props: ["title"],
};
</script>
<style scoped lang="scss">
.public-title {
  position: relative;
  height: 42px;
  line-height: 42px;
  background: url("~@/assets/icon04.png") no-repeat left center;
  h2 {
    text-indent: 20px;
    font-size: 16px;
    border-bottom: 1px solid #fff;
  }
}
</style>